package com.gy.universities.dao;
import com.gy.universities.entity.StudyAdmin;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudyAdminMapper {
	//根据id查询
	public StudyAdmin getStudyAdminById(@Param(value = "id") String id)throws Exception;

	public List<StudyAdmin>	getStudyAdminListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudyAdminCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudyAdmin(StudyAdmin studyAdmin)throws Exception;

	public Integer updateStudyAdmin(StudyAdmin studyAdmin)throws Exception;

	public Integer deleteStudyAdminById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudyAdmin(Map<String,List<String>> params);


}
